bitkeeper revision 1.1041.3.4 (40e52ba8BG52Ja01pk085Hoa4GWGqQ)
authormjw@wray-m-3.hpl.hp.com <mjw@wray-m-3.hpl.hp.com>
Fri, 2 Jul 2004 09:32:24 +0000 (09:32 +0000)
committermjw@wray-m-3.hpl.hp.com <mjw@wray-m-3.hpl.hp.com>
Fri, 2 Jul 2004 09:32:24 +0000 (09:32 +0000)
Fix headers.

tools/libxutil/Makefile
tools/libxutil/allocate.h
tools/libxutil/debug.h
tools/libxutil/file_stream.h
tools/libxutil/gzip_stream.c
tools/libxutil/gzip_stream.h
tools/libxutil/kernel_stream.h
tools/libxutil/string_stream.h
tools/libxutil/sys_ctype.h
tools/libxutil/sys_net.h
tools/libxutil/sys_string.h

index 8ba9eb3454d70bb0486248dcc99905ba9f802163..8be24daa92106d978a10f4b8c90fa538c09b2cb3 100644 (file)
@@ -8,7 +8,7 @@ LIB_SRCS += allocate.c
 LIB_SRCS += file_stream.c
 LIB_SRCS += gzip_stream.c
 LIB_SRCS += iostream.c
-LIB_SRCS += sys_net.c
+#LIB_SRCS += sys_net.c
 LIB_SRCS += sys_string.c
 
 LIB_OBJS := $(LIB_SRCS:.c=.o)
index 08bc67b910e01c1d4f0145c8c7bf131ac7cfe607..391b7be2bd93d9b9197199bb435cdf340531f82d 100644 (file)
@@ -16,8 +16,8 @@
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  */
 
-#ifndef _XEN_LIB_ALLOCATE_H_
-#define _XEN_LIB_ALLOCATE_H_
+#ifndef _XUTIL_ALLOCATE_H_
+#define _XUTIL_ALLOCATE_H_
 
 /** Allocate memory for a given type, and cast. */
 #define ALLOCATE(ctype) (ctype *)allocate(sizeof(ctype))
@@ -33,7 +33,7 @@ extern void memzero(void *p, int size);
 typedef void AllocateFailedFn(int size, int type);
 extern AllocateFailedFn *allocate_failed_fn;
 
-#endif /* _XEN_LIB_ALLOCATE_H_ */
+#endif /* _XUTIL_ALLOCATE_H_ */
 
 
 
index 4f5228faa34b36e19f0bb1bc1919312a89ba0099..69a6b4993713b1938a71f7936ec2e3e90f9d4b68 100644 (file)
@@ -15,8 +15,8 @@
  * along with this library; if not, write to the Free Software
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  */
-#ifndef _XEN_LIB_DEBUG_H_
-#define _XEN_LIB_DEBUG_H_
+#ifndef _XUTIL_DEBUG_H_
+#define _XUTIL_DEBUG_H_
 
 #ifndef MODULE_NAME
 #define MODULE_NAME ""
@@ -69,4 +69,4 @@
  */
 #define IPFMT "%u.%u.%u.%u"
 
-#endif /* ! _XEN_LIB_DEBUG_H_ */
+#endif /* ! _XUTIL_DEBUG_H_ */
index 36a0f928b2058e980803e39c3113f18b7bbce85f..f717656c240ae227deab1b56ba7e86ea979ac01f 100644 (file)
@@ -16,8 +16,8 @@
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  */
 
-#ifndef _XEN_LIB_FILE_STREAM_H_
-#define _XEN_LIB_FILE_STREAM_H_
+#ifndef _XUTIL_FILE_STREAM_H_
+#define _XUTIL_FILE_STREAM_H_
 
 #ifndef __KERNEL__
 #include "iostream.h"
@@ -32,4 +32,4 @@ extern IOStream get_stream_stdin(void);
 
 extern int file_stream_setvbuf(IOStream *io, char *buf, int mode, size_t size);
 #endif
-#endif /* !_XEN_LIB_FILE_STREAM_H_ */
+#endif /* !_XUTIL_FILE_STREAM_H_ */
index af46023f9dc01127245dfa963f86d30913ed64f6..a933c5ff734dc8f5b106ca222e915635c338b015 100644 (file)
@@ -1,4 +1,3 @@
-/* $Id: gzip_stream.c,v 1.4 2003/09/30 15:22:53 mjw Exp $ */
 /*
  * Copyright (C) 2003 Hewlett-Packard Company.
  *
index cf76d252757afda1488d5509d201d79f25be2647..fd28e39575aa2f807e5c51ebdc1737d4ead987af 100644 (file)
@@ -1,4 +1,3 @@
-#/* $Id: gzip_stream.h,v 1.3 2003/09/30 15:22:53 mjw Exp $ */
 /*
  * Copyright (C) 2003 Hewlett-Packard Company.
  *
@@ -17,8 +16,8 @@
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  */
 
-#ifndef _SP_GZIP_STREAM_H_
-#define _SP_GZIP_STREAM_H_
+#ifndef _XUTIL_GZIP_STREAM_H_
+#define _XUTIL_GZIP_STREAM_H_
 
 #ifndef __KERNEL__
 #include "iostream.h"
@@ -28,4 +27,4 @@ extern IOStream *gzip_stream_new(gzFile *f);
 extern IOStream *gzip_stream_fopen(const char *file, const char *flags);
 extern IOStream *gzip_stream_fdopen(int fd, const char *flags);
 #endif
-#endif /* !_SP_FILE_STREAM_H_ */
+#endif /* !_XUTIL_GZIP_STREAM_H_ */
index be370f2a4568e27d0f9cd7d7e9a74853259f7529..0f18058d59a6c8b885699ec35440d62c7b578d76 100644 (file)
@@ -16,8 +16,8 @@
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  */
 
-#ifndef _XEN_LIB_KERNEL_STREAM_H_
-#define _XEN_LIB_KERNEL_STREAM_H_
+#ifndef _XUTIL_KERNEL_STREAM_H_
+#define _XUTIL_KERNEL_STREAM_H_
 
 #ifdef __KERNEL__
 #include "iostream.h"
@@ -26,4 +26,4 @@ extern IOStream get_stream_kernel(void);
 #define get_stream_stdout get_stream_kernel
 
 #endif /* __KERNEL__ */
-#endif /* !_XEN_LIB_KERNEL_STREAM_H_ */
+#endif /* !_XUTIL_KERNEL_STREAM_H_ */
index 36d764b2652346283507137b81a171a022118211..b6cbc0f3df7f3f0433aa46f3fd175c659bf7024f 100644 (file)
@@ -1,4 +1,3 @@
-/* $Id: string_stream.h,v 1.1 2003/08/22 14:25:48 mjw Exp $ */
 /*
  * Copyright (C) 2001, 2002 Hewlett-Packard Company.
  *
@@ -17,8 +16,8 @@
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  */
 
-#ifndef _SP_STRING_STREAM_H_
-#define _SP_STRING_STREAM_H_
+#ifndef _XUTIL_STRING_STREAM_H_
+#define _XUTIL_STRING_STREAM_H_
 
 #include "iostream.h"
 
@@ -43,4 +42,4 @@ extern IOMethods *string_stream_get_methods(void);
 extern IOStream *string_stream_new(char *s, int n);
 extern void string_stream_init(IOStream *stream, StringData *data, char *s, int n);
 
-#endif /* !_SP_STRING_STREAM_H_ */
+#endif /* !_XUTIL_STRING_STREAM_H_ */
index 1dc6cf2fac2ddfd956a3bf71b5ee026937ada771..debcc8921b7e499362bb6d58588889c6578ce070 100644 (file)
@@ -1,5 +1,5 @@
-#ifndef _XENO_SYS_CTYPE_H_
-#define _XENO_SYS_CTYPE_H_
+#ifndef _XUTIL_SYS_CTYPE_H_
+#define _XUTIL_SYS_CTYPE_H_
 /** @file
  ** Replacement for ctype include that can be used
  * from user or kernel code.
@@ -9,4 +9,4 @@
 #else
 #  include <ctype.h>
 #endif
-#endif /* ! _XENO_SYS_CTYPE_H_ */
+#endif /* ! _XUTIL_SYS_CTYPE_H_ */
index da6c1e8fd5e57b6a4803fc85128d269eeba6fe8b..61754940f2e2ed44be23bc5edb9e6fe83e6ef6b3 100644 (file)
@@ -16,8 +16,8 @@
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  */
 
-#ifndef _XEN_LIB_SYS_NET_H_
-#define _XEN_LIB_SYS_NET_H_
+#ifndef _XUTIL_SYS_NET_H_
+#define _XUTIL_SYS_NET_H_
 /** @file
  *
  * Replacement for standard network includes.
@@ -72,7 +72,7 @@ extern int inet_aton(const char *address, struct in_addr *inp);
 extern char *mac_ntoa(const unsigned char *macaddr);
 extern int mac_aton(const char *addr, unsigned char *macaddr);
 
-#endif /* !_SP_SYS_NET_H_ */
+#endif /* !_XUTIL_SYS_NET_H_ */
 
 
 
index f39935f6691c54ba54b023afa82c19f207098af4..ea604011683a119238c42926995c59b547d576d0 100644 (file)
@@ -16,8 +16,8 @@
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  */
 
-#ifndef _XEN_LIB_SYS_STRING_H_
-#define _XEN_LIB_SYS_STRING_H_
+#ifndef _XUTIL_SYS_STRING_H_
+#define _XUTIL_SYS_STRING_H_
 /** @file
  * Replacement for standard string includes.
  * Works in user or kernel code.
@@ -88,4 +88,4 @@ static inline size_t strnlen(const char *s, size_t n){
 extern int convert_atoul(const char *s, unsigned long *v);
 extern int path_concat(char *s, char *t, char **val);
 
-#endif /* !_XEN_LIB_SYS_STRING_H_ */
+#endif /* !_XUTIL_SYS_STRING_H_ */